<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>laravel展示</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<form>
    <input type="text"  name="keyword"><input type="submit" value="搜索">
</form>
<table class="table">
    <tr>
        <th>编号</th>
        <th>标题</th>
        <th>封面</th>
        <th>描述</th>
        <th>操作</th>
    </tr>
    @foreach ($arr as $v)
        <tr>
            <td>{{$v->id}}</td>
            <td>{{$v->title}}</td>
            <td><img src="{{$v->logo}}" width="80px"></td>
            <td>{{$v->desc}}</td>
            <td>
                <a href="infoo?id={{$v->id}}">详情</a>
                <a href="delete?id={{$v->id}}">删除</a>
            </td>
        </tr>
    @endforeach
</table>
{{$arr->appends($str)->links()}}
</body>
</html>
